<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<style type="text/css">
.actionErrors {
	background-color: #FFCCCC;
	border: 1px solid #CC0000;
	width: 400px;
	margin-bottom: 8px;
}

.actionErrors li {
	list-style: none;
}
</style>

<s:if test="hasFieldErrors()">
	<div class="actionErrors">
		<s:fielderror />
	</div>
</s:if>

<s:if test="hasActionErrors()">
	<div class="actionErrors">
		<s:actionerror />
	</div>
</s:if>

<s:if test="hasActionMessages()">
	<div class="actionErrors">
		<s:actionmessage />
	</div>
</s:if>